export default {
  name: 'form-item',
  functional: true,
  props: {
    item: Object,
    parent: Object,
    form: Object,
    render: Function
  },
  render: (h, ctx) => {
    const item = ctx.props.item
    const form = ctx.props.form
    const parent = ctx.parent
    return ctx.props.render(h, item, parent, { form })
  }
}
